package com.example.db2dm;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

import java.util.Properties;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class Db2DmApplication {

    public static void main(String[] args) {
        // 设置系统属性以解决中文乱码问题
        System.setProperty("file.encoding", "UTF-8");
        System.setProperty("sun.stdout.encoding", "UTF-8");
        System.setProperty("sun.stderr.encoding", "UTF-8");
        System.setProperty("user.country", "CN");
        System.setProperty("user.language", "zh");
        
        SpringApplication.run(Db2DmApplication.class, args);
    }

}